package com.yiwei.zhh.api.callback;

import com.yiwei.zhh.api.contract.BaseContract;
import com.yiwei.zhh.model.LoginAndRegisterModel;
import com.yiwei.zhh.model.UploadImageModel;

/**
 * Created by Administrator on 2017/5/14.
 */

public interface MyPsersonalContract {
    interface View extends BaseContract.BaseView {
        void logoutSuccess(LoginAndRegisterModel item);

        void updateHeadSuccess(UploadImageModel item);

        void uploadAddressSuccess();
    }

    interface Presenter<T> extends BaseContract.BasePresenter<T> {
        void logout();

        void updateHead(String base64);

        void uploadAddress(String url);
    }
}
